<?php
/**
 * Notes:
 * Created by PhpStorm.
 * Author: TS
 * Date: 2019/11/5
 * Time: 18:58
 */

namespace app\validate;


use think\Validate;

class TaskValidate extends Validate
{
    protected $rule = [
        'task_title' => 'require',
        'task_content' => 'require',
        'task_start' => 'require',
        'task_end' => 'require',
        'task_target' => 'require'
    ];
    protected $field = [
        'task_title' => '任务标题',
        'task_content' => '任务内容',
        'task_start' => '任务开始时间',
        'task_end' => '任务结束时间',
        'task_target' => '受派人'
    ];

}